<!--
 * @Author: ChengNan 1429323234@qq.com
 * @Date: 2024-09-05 14:26:26
 * @LastEditors: ChengNan 1429323234@qq.com
 * @LastEditTime: 2024-09-05 14:32:03
 * @FilePath: /src/views/0.web-front/7天入门/13.flex2.html
 * @Description: 
-->
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    ul {
      display: flex;
      margin: 0;
      padding: 0;
      flex-flow: row wrap; /* 指定flex容器的换行方式 */
      list-style: none;
      width: 600px;
      height: 600px;
      border: 1px solid red;
      align-items: center;
      justify-content: space-evenly;
      justify-items: flex-start;
    }
    ul li {
      width: 130px;
      height: 130px;
      background-color: antiquewhite;
      border: 1px solid red;
    }
  </style>
</head>
<body>
  <ul>
    <li></li>
    <li></li>
    <li></li>
    <li></li>
    <li></li>
    <li></li>
  </ul>
</body>
</html>